|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.src.customstuff.files.Recipes
public class Recipes
| Constructor Summary | |
|---|---|
Recipes()
|
|
| Method Summary | |
|---|---|
void |
addRecipe(java.lang.String input)
Adds a crafting recipe |
void |
addRecipe(java.lang.String input,
java.lang.String func)
Adds a crafting recipe with a script that is called when this recipe is used |
void |
addRecipe(java.lang.String input,
java.lang.String script,
java.lang.String craftingname)
Adds a crafting recipe for a specific crafting table with a script |
void |
addShapelessRecipe(java.lang.String input)
Adds a shapeless crafting recipe |
void |
addShapelessRecipe(java.lang.String input,
java.lang.String func)
Adds a shapeless crafting recipe with a script that is called when this recipe is used |
void |
addShapelessRecipe(java.lang.String input,
java.lang.String func,
java.lang.String craftingname)
Adds a shapeless crafting recipe for a specific crafting table with a script |
static void |
LoadRecipes(java.lang.String dirPath)
DO NOT USE THIS! |
void |
removeRecipe(java.lang.String input)
Removes a crafting recipe |
void |
removeRecipe(java.lang.String input,
java.lang.String craftingname)
Removes a crafting recipe from a specific crafting table |
void |
removeShapelessRecipe(java.lang.String input)
Removes a shapeless recipe |
void |
removeShapelessRecipe(java.lang.String input,
java.lang.String craftingname)
Removes a shapeless recipe from a specific craftingname |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Recipes()
| Method Detail |
|---|
public static void LoadRecipes(java.lang.String dirPath)
throws java.io.IOException,
javax.script.ScriptException,
net.minecraft.src.customstuff.CustomStuffException
java.io.IOException
javax.script.ScriptException
net.minecraft.src.customstuff.CustomStuffException
public void addRecipe(java.lang.String input)
throws net.minecraft.src.customstuff.CustomStuffException
input - The crafting recipe
net.minecraft.src.customstuff.CustomStuffException
public void addRecipe(java.lang.String input,
java.lang.String func)
throws net.minecraft.src.customstuff.CustomStuffException
input - The crafting recipefunc - The script
net.minecraft.src.customstuff.CustomStuffException
public void addRecipe(java.lang.String input,
java.lang.String script,
java.lang.String craftingname)
throws net.minecraft.src.customstuff.CustomStuffException
input - The recipescript - The scriptcraftingname - The name of the crafting GUI
net.minecraft.src.customstuff.CustomStuffException
public void addShapelessRecipe(java.lang.String input)
throws net.minecraft.src.customstuff.CustomStuffException
input - The crafting recipe
net.minecraft.src.customstuff.CustomStuffException
public void addShapelessRecipe(java.lang.String input,
java.lang.String func)
throws net.minecraft.src.customstuff.CustomStuffException
input - The crafting recipefunc - The script
net.minecraft.src.customstuff.CustomStuffException
public void addShapelessRecipe(java.lang.String input,
java.lang.String func,
java.lang.String craftingname)
throws net.minecraft.src.customstuff.CustomStuffException
input - The recipefunc - The scriptcraftingname - The name of the crafting GUI
net.minecraft.src.customstuff.CustomStuffException
public void removeRecipe(java.lang.String input)
throws net.minecraft.src.customstuff.CustomStuffException
input - The recipe
net.minecraft.src.customstuff.CustomStuffException
public void removeRecipe(java.lang.String input,
java.lang.String craftingname)
throws net.minecraft.src.customstuff.CustomStuffException
input - The recipecraftingname - The name of the crafting GUI
net.minecraft.src.customstuff.CustomStuffException
public void removeShapelessRecipe(java.lang.String input)
throws net.minecraft.src.customstuff.CustomStuffException
input - The recipe
net.minecraft.src.customstuff.CustomStuffException
public void removeShapelessRecipe(java.lang.String input,
java.lang.String craftingname)
throws net.minecraft.src.customstuff.CustomStuffException
input - The recipecraftingname - The name of the crafting GUI
net.minecraft.src.customstuff.CustomStuffException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||